home *** CD-ROM | disk | FTP | other *** search
- Path: rintintin.Colorado.EDU!woodjr
- From: woodjr@rintintin.Colorado.EDU (WOOD JAMEY RYAN)
- Newsgroups: crl.general,comp.sys.sun.misc,comp.unix.sys5.misc,comp.lang.c,sci.math
- Subject: Re: Problem with C for the mathematical programm
- Date: 3 Feb 1996 03:55:49 GMT
- Organization: University of Colorado, Boulder
- Message-ID: <4eumc5$ph0@peabody.colorado.edu>
- References: <4epq2e$h4b@crl2.crl.com>
- NNTP-Posting-Host: rintintin.colorado.edu
-
- In article <4epq2e$h4b@crl2.crl.com>, Iouri Sorkine <sorkin@crl.com> wrote:
- >
- >I execute "cc name.c" and receive "ld: Undefined symbol
- > _cos
- > _sin
-
- To use these functions you need to tell the compiler to link with the math
- libraries. To do this, try: "cc name.c -lm"
-
- --Jamey
-